{% extends "::base.html.twig" %}
{% block body %}

<h3>Donner une note à ce repas : </h3>
<form action="{{ path('noter', { 'id': entity.id }) }}" method="post">
    <ul class="notes-echelle">
        <li>
            <label for="note01" title="Note&nbsp;: 1 sur 5">1</label>
            <input type="radio" name="notesA" id="note01" value="1" />
        </li>
        <li>
            <label for="note02" title="Note&nbsp;: 2 sur 5">2</label>
            <input type="radio" name="notesA" id="note02" value="2" />
        </li>
        <li>
            <label for="note03" title="Note&nbsp;: 3 sur 5">3</label>
            <input type="radio" name="notesA" id="note03" value="3" />
        </li>
        <li>
            <label for="note04" title="Note&nbsp;: 4 sur 5">4</label>
            <input type="radio" name="notesA" id="note04" value="4" />
        </li>
        <li>
            <label for="note05" title="Note&nbsp;: 5 sur 5">5</label>
            <input type="radio" name="notesA" id="note05" value="5" />
        </li>
    </ul>
    <div style="clear: both;">&nbsp;</div>
    <br/> Commenter : 
    <br/><textarea style="width:500px; height:200px" id="commentaire" name="commentaire"></textarea> 
    <br/><button type="submit" class="btn btn-success">Valider</button>


</form>

<div style="clear: both;">&nbsp;</div>

{% endblock %}